import React, { Component } from 'react'
interface IProps{
    history:any
}
export class ForgetPass extends Component<IProps> {
    back=()=>{
        this.props.history.go(-1)
    }
    render() {
        return (
            <div className="forget">
                <h1>密码找回</h1>
                <button onClick={()=>{this.back()}}>返回</button>
            </div>
        )
    }
}

export default ForgetPass
